exports.default = (e) => {
  const {
    outDir,
    configuration: { productName }
  } = e
  const fs = require('fs')
  fs.rmdirSync(`${outDir}/${productName}`, { recursive: true })
  fs.renameSync(`${outDir}/win-unpacked`, `${outDir}/${productName}`)
}
